home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / progwin.zip / SYSMETS1.ZIP / SYSMETS.H next >
C/C++ Source or Header  |  1991-09-16  |  3KB  |  53 lines

  1. /*----------------------------------------------
  2.    SYSMETS.H -- System metrics display structure
  3.   -----------------------------------------------*/
  4.  
  5. #define NUMLINES (sizeof sysmetrics / sizeof sysmetrics [0])
  6.  
  7. struct
  8.      {
  9.      int nIndex ;
  10.      char *szLabel ;
  11.      char *szDesc ;
  12.      }
  13.      sysmetrics [] =
  14.      {
  15.      SM_CXSCREEN,       "SM_CXSCREEN",      "Screen width in pixels",
  16.      SM_CYSCREEN,       "SM_CYSCREEN",      "Screen height in pixels",
  17.      SM_CXVSCROLL,      "SM_CXVSCROLL",     "Vertical scroll arrow width",
  18.      SM_CYHSCROLL,      "SM_CYHSCROLL",     "Horizontal scroll arrow width",
  19.      SM_CYCAPTION,      "SM_CYCAPTION",     "Caption bar height",
  20.      SM_CXBORDER,       "SM_CXBORDER",      "Border width",
  21.      SM_CYBORDER,       "SM_CYBORDER",      "Border heigth",
  22.      SM_CXDLGFRAME,     "SM_CXDLGFRAME",    "Dialog window frame width",
  23.      SM_CYDLGFRAME,     "SM_CYDLGFRAME",    "Dialog window frame height",
  24.      SM_CYVTHUMB,       "SM_CYVTHUMB",      "Vertical scroll thumb height",
  25.      SM_CXHTHUMB,       "SM_CXHTHUMB",      "Horizontal scroll thumb width",
  26.      SM_CXICON,         "SM_CXICON",        "Icon width",
  27.      SM_CYICON,         "SM_CYICON",        "Icon height",
  28.      SM_CXCURSOR,       "SM_CXCURSOR",      "Cursor width",
  29.      SM_CYCURSOR,       "SM_CYCURSOR",      "Cursor height",
  30.      SM_CYMENU,         "SM_CYMENU",        "Menu bar height",
  31.      SM_CXFULLSCREEN,   "SM_CXFULLSCREEN",  "Full-screen client window width",
  32.      SM_CYFULLSCREEN,   "SM_CYFULLSCREEN",  "Full-screen client window height",
  33.      SM_CYKANJIWINDOW,  "SM_CYKANJIWINDOW", "Kanji window height",
  34.      SM_MOUSEPRESENT,   "SM_MOUSEPRESENT",  "Mouse present flag",
  35.      SM_CYVSCROLL,      "SM_CYVSCROLL",     "Vertical scroll arrow height",
  36.      SM_CXHSCROLL,      "SM_CXHSCROLL",     "Horizontal scroll arrow width",
  37.      SM_DEBUG,          "SM_DEBUG",         "Debug version flag",
  38.      SM_SWAPBUTTON,     "SM_SWAPBUTTON",    "Mouse buttons swapped flag",
  39.      SM_RESERVED1,      "SM_RESERVED1",     "Reserved",
  40.      SM_RESERVED2,      "SM_RESERVED2",     "Reserved",
  41.      SM_RESERVED3,      "SM_RESERVED3",     "Reserved",
  42.      SM_RESERVED4,      "SM_RESERVED4",     "Reserved",
  43.      SM_CXMIN,          "SM_CXMIN",         "Minimum window width",
  44.      SM_CYMIN,          "SM_CYMIN",         "Minimum window height",
  45.      SM_CXSIZE,         "SM_CXSIZE",        "Minimize/Maximize icon width",
  46.      SM_CYSIZE,         "SM_CYSIZE",        "Minimize/Maximize icon height",
  47.      SM_CXFRAME,        "SM_CXFRAME",       "Window frame width",
  48.      SM_CYFRAME,        "SM_CYFRAME",       "Window frame height",
  49.      SM_CXMINTRACK,     "SM_CXMINTRACK",    "Minimum tracking width of window",
  50.      SM_CYMINTRACK,     "SM_CYMINTRACK",    "Minimum tracking height of window",
  51.      SM_CMETRICS,       "SM_CMETRICS",      "Number of system metrics",
  52.      } ;
  53.